package com.ruoyi.retirement.mapper;

import com.ruoyi.retirement.domain.RetirementAgreement;

import java.util.List;

/**
 * 界面与协议Mapper接口
 * 
 * @author 曹旭
 * @date 2025-09-08
 */
public interface RetirementAgreementMapper 
{
    /**
     * 查询界面与协议
     * 
     * @param id 界面与协议主键
     * @return 界面与协议
     */
    public RetirementAgreement selectRetirementAgreementById(Long id);

    /**
     * 查询界面与协议列表
     * 
     * @param retirementAgreement 界面与协议
     * @return 界面与协议集合
     */
    public List<RetirementAgreement> selectRetirementAgreementList(RetirementAgreement retirementAgreement);

    /**
     * 新增界面与协议
     * 
     * @param retirementAgreement 界面与协议
     * @return 结果
     */
    public int insertRetirementAgreement(RetirementAgreement retirementAgreement);

    /**
     * 修改界面与协议
     * 
     * @param retirementAgreement 界面与协议
     * @return 结果
     */
    public int updateRetirementAgreement(RetirementAgreement retirementAgreement);

    /**
     * 删除界面与协议
     * 
     * @param id 界面与协议主键
     * @return 结果
     */
    public int deleteRetirementAgreementById(Long id);

    /**
     * 批量删除界面与协议
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRetirementAgreementByIds(Long[] ids);
}
